<div class="box">
  <div class="box-header">
      <h3 class="box-title">订单分成奖励</h3>
  </div>
  <div class="box-body table-responsive">
    <table class="table table-bordered table-hover table-striped">
        <thead>
            <tr>
                <th>ID</th>
                <th>邀请人</th>
                <th>被邀请人</th>
                <th>订单ID</th>
                <th>金额</th>
                <th>类型</th>
                <th>描述</th>
                <th>时间</th>
            </tr>
        </thead>
        <tbody>
            {volist name="list" id="item"}
            <tr>
                <td>{$item.id}</td>
                <td>{$item.inviter_nickname|default='-'} <span class="text-muted">(ID: {$item.user_id})</span></td>
                <td>{$item.invitee_nickname|default='-'} <span class="text-muted">(ID: {$item.from_user_id})</span></td>
                <td>{$item.order_id}</td>
                <td>{$item.amount}</td>
                <td>{$item.type}</td>
                <td>{$item.description}</td>
                <td>{$item.create_time|date="Y-m-d H:i:s"}</td>
            </tr>
            {/volist}
        </tbody>
    </table>
  </div>
</div>
